'Declaration Public Sub InsertRange( _ ByVal index As Integer, _ ByVal collection As IEnumerable(Of T) _ )
'Usage Dim instance As ListBase(Of T) Dim index As Integer Dim collection As IEnumerable(Of T) instance.InsertRange(index, collection)
public void InsertRange( int index, IEnumerable<T> collection )
Parameters
- index
- The zero-based index at which the new elements should be inserted.
- collection
- The collection whose elements should be inserted into the ListBase<T>. The collection itself cannot be null, but it can contain elements that are null, if type T is a reference type.